import json

initData = {
    "username": "",
    "password": "",
    "province": "河北省",
    "city": "保定市",
    "district": "莲池区",
    "township": "韩庄乡",
    "detail": "河北金融学院",
    "isFirst": True
}
def init():
    with open("setting.json", "w", encoding='utf-8') as f:
        json.dump(initData, f, ensure_ascii=False, indent=4)
    return

if __name__ == '__main__':
    init()